package top.greatxiaozou.dao;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import top.greatxiaozou.pojo.Teacher;

public interface TeacherMapper {

    @Select("select * from teacher where id=#{pid}")
    Teacher getTeacher(@Param("pid") int id);
}
